package com.chery.foxlogrecord.extension.operation.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chery.foxlogrecord.extension.operation.entity.OperationField;
import com.chery.foxlogrecord.extension.operation.pojo.dto.OperationFieldPageDto;
import com.chery.foxlogrecord.extension.operation.pojo.vo.OperationFieldVo;

import javax.validation.Valid;

/**
 * @author qiangt
 * @version 1.0
 * @date 2023/12/5 11:11
 * @description: 操作字段service
 */
public interface OperationFieldService extends IService<OperationField> {
    /**
     * 根据操作记录id分页查询数据
     * @param pageDto
     * @return
     */
    Page<OperationField> pageByOperationId(@Valid OperationFieldPageDto pageDto);

    Page<OperationFieldVo> pageWithJoin(@Valid OperationFieldPageDto pageDto);
}
